<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>确认调货单</title>
</head>

<body>
<div class="centercontent tables">
    <div class="pageheader notab">
        <h1 class="pagetitle">确认调货单</h1>
        <span class="pagedesc"></span>
    </div>
</div>
<div class="contentwrapper" style="width:760px;margin:10px auto;">
<form class="stdform stdform2" method="post" action="/sales/ajaxbutton?op=saveNeedStore">
<input type='hidden' name='needstore_json' value='{{$needstore_json}}'>
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"  align="center">
                <thead>
                <tr>
                  <th class="head1">NO.</th>
                    <th class="head1">商品编号</th>
                    <th class="head1">商品名称</th>
                    <th class="head1">二号仓库存</th>
                    <th class="head1">调拔数量</th>
                </tr>
                </thead>
                <tbody>
                {{foreach from=$needstore item=li key=key}}
                <tr>
                  <td>{{$key+1}}</td>
                    <td><a href="/product/productlist?other={{$li.sku}}&filtertype=skuc" target="_blank">{{$li.sku}}</a></td>
                    <td>{{$li.goods_name}}</td>
                    <td>{{$li.two_stock}}</td>
                    <td>{{$li.need_store}}</td>
                </tr>
                                {{/foreach}}   
                <tr>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                  <td><button id="btn" type="submit" class="submit radius2">确认调货单</button>  <button id="btn" type="button" class="submit radius2" onclick="history.back();">返回调整</button></td>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>              
                </tbody>
            </table>
  </form>
            </div>
</body>
</html>
